package com.nowc.week.w110;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class a {

    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) throws IOException {
        solve();
        out.flush();
        out.close();
        br.close();
    }

    static void solve() throws IOException {
         String[] in = br.readLine().split(" ");
         int a = Integer.parseInt(in[0]);
        out.println(a > 1 ? "YES" : "NO");
    }
}
